﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ListPost.ascx.cs" Inherits="Modules_Posts_Controls_ListPost" %>
<div class="archive">
    <h3>
        Lưu trữ trong thư mục:
        <%=CategoryName%>
    </h3>
    <ul class="posts">
        <asp:Repeater ID="rpt" runat="server">
            <ItemTemplate>
                <li>
                    <div class="cover">
                        <a title="<%#Eval("Title") %>" rel="bookmark" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>">
                            <img alt="<%#Eval("Title") %>" src="<%#UrlBuilder.GetImage(Eval("ImageUrl").ToString(),160,120,true) %>" style="width:160px;height:120px;" /></a></div>
                    <div class="postcontent">
                        <h2 class="title">
                            <a title="<%#Eval("Title") %>" href="<%#UrlBuilder.GetNewsDetail(Eval("TextId").ToString()) %>">
                                <%#Eval("Title") %></a></h2>
                        <div class="meta">
                            <span class="cat_icon"><a rel="category tag" title="View all posts in <%=CategoryName%>"
                                href="<%=UrlBuilder.GetCategory(CategoryTextId) %>">
                                <%=CategoryName%></a></span> <span class="date_icon">
                                    <%#FormatString.DateTimeToString(Eval("ModifiedDate").ToString()) %></span>
                            <%--<span class="comm_icon"><a title="Jump to the comments" href="/09/10/2012/chum-anh-lien-trai-huan-luyen-huynh-truong-giai-doan-2-bhd-gdpt-quang-duc-sai-gon#commentspost">
                        0 bình luận</a></span>--%>
                            <span></span>
                        </div>
                        <p>
                            <%#FormatString.SplitString( Eval("Summary"),200) %></p>
                    </div>
                    <div class="cleaner">
                        &nbsp;</div>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>
    <div class="cleaner">
        &nbsp;</div>
  <%--  <div class="navigation">
        <div class="floatleft">
        </div>
        <div class="floatright">
            <a href="/category/tin-tuc/gia-dinh-phat-tu-viet-nam/">
                Bài viết mới →</a></div>
    </div>--%>
    <div class="cleaner">
        &nbsp;</div>
</div>
